-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump CSI spec 1.10 #1262
Bump CSI spec 1.10 #1262
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3f4ede0
to
398f2c2
Compare
I filed an issue in the CSI spec repo: container-storage-interface/spec#570 |
This fixes tests for external-health-monitor and liveness probe when moved to csi-test See tests passing with replaced csi-test module:
I can raise a PR on your fork for this provisioner PR, changing Protobuf -> csitestutil.Protobuf once we release new version of csi-test. |
And csi-test to 5.3.0 to get updated mocks.
gomock cannot compare protobuf messages due to mismatches in private fields. Use a custom matcher for protobuf messages.
k8s.io/apimachinery can be used to compare API objects, but it panics on protobuf messages. Use a generic cmp.Equal, with protobuf hints.
Do not copy NodeGetInfoResponse, it contains many private fields, incl. a mutex that should not be copied. Use a pointer instead.
fe0cecf
to
d794397
Compare
@AndrewSirenko I updated to csi-test 5.3.1, PTAL |
/lgtm |
/test pull-kubernetes-csi-external-provisioner-1-27-on-kubernetes-1-27 |
@AndrewSirenko: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Bump CSI spec to 1.10.0 and csi-test to 5.3.0.
cmp.Equal
instead, as suggested in https://protobuf.dev/reference/go/faq/#deepequalWIP:
the matcher should be probably in csi-tests repo, as it's going to be used by many sidecars.cc @AndrewSirenko @xing-yang @gnufied